#pragma once
#ifndef GAMEDRAW_H
#define GAMEDRAW_H

#include<Windows.h>
#include<conio.h>
#include<stdio.h>
#include<math.h>
#include<time.h>
#include<thread>
#include <mutex>
#include <condition_variable>
#include"Tom.h"
#include"Game.h"
#include"RecursionGW.h"
#include"Jerry.h"
//#include"AdvanceMap.h"

void setPox(int x, int y);
void setColor(unsigned short color);
void outTom(int x, int y);
void outJerry(int x, int y);
void outCake(int x, int y);
void outDrink(int x, int y);
void outSpace(int x, int y);
void showMaze(int** map);
void generateCake(int** map);
void generateDrink(int** map);
void saveAndShowDrink(int** map, Queue* drinks, int num);
Pos makeDrink(int** map);
void saveAndShowCake(int** map, Queue* cakes, int num);
Pos makeCake(int** map);
int plusDirection();
void goTom(int** map, Tom* tom, Queue path);
void goJerry(int** map, Jerry* jerry, Queue path);
void setJerryPos(int** map, Jerry* jerry, Tom* tom);


#endif // !GAMEDRAW_H
